728x90 RobloxScript1 Roblox 스크립트 Luau OOP 기초 | __index, self, 메서드 구조 이해하기 Luau OOP 이해하기 self · . · : · Class Method vs Object Method Roblox 스크립트를 이해하기 위한 핵심 객체지향 개념 정리 Roblox Luau OOP self metatable 01 객체는 사실 “테이블”이다 Luau에서는 별도의 class 키워드가 없습니다. 객체는 모두 테이블(table) 기반으로 만들어집니다. luau local Player = {}Player.__index = Player -- 메서드 탐색을 위한 설정 핵심 개념 Player 테이블이 곧 클래스 역할을 합니다. Player.__index = Player 는 인스턴스.. 2026. 3. 2. 이전 1 다음 728x90