示例#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>();
 }