コード例 #1
0
 void Start()
 {
     rg = GetComponent<Rigidbody>();
     setEffects = GetComponent<SetEffects>();
     controlInteract = GetComponent<ControlInteract>();
     checkers.isMovingMouse(mousePos = Util.getMousePointWorld(Manager.instance.GlobalUsePad));
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     wallsCreate     = new List <GameObject>();
     auxMaxIncrement = CanvasControlParent.instance.menuCurrent.maxIncrement;
     controlInteract = GetComponent <ControlInteract>();
     playerControl   = GetComponent <PlayerControl>();
     setEffects      = GetComponent <SetEffects>();
 }
コード例 #3
0
 // Start is called before the first frame update
 void Start()
 {
     jumpControl         = GetComponent <JumpControl>();
     characterController = GetComponent <CharacterController>();
     controlInteract     = GetComponent <ControlInteract>();
     playerMove          = GetComponent <PlayerMove>();
     createWall          = GetComponent <CreateWallPlayer>();
     inputControl        = InputControl.instance;
     rb = GetComponent <Rigidbody>();
 }
コード例 #4
0
 // Start is called before the first frame update
 void Start()
 {
     canMove                 = true;
     anim                    = GetComponent <Animator>();
     rg                      = GetComponent <Rigidbody>();
     jumpControlPhysic       = GetComponent <JumpControlPhysic>();
     horizontalControlPhysic = GetComponent <HorizontalControlPhysic>();
     controlInteract         = GetComponent <ControlInteract>();
     ingravityFall           = GetComponent <IngravityFall>();
     setEffects              = GetComponent <SetEffects>();
 }