예제 #1
0
        // Start is called before the first frame update
        void Start()
        {
            characterGroundedCheck       = GetComponentInChildren <CharacterGroundedCheck>();
            characterControl             = GetComponent <CharacterControl>();
            characterAnimationController = GetComponentInChildren <CharacterAnimationController>();
            characterLadderClimb         = GetComponentInChildren <CharacterLadderClimb>();

            InitializeDelegates();
        }
예제 #2
0
 // Start is called before the first frame update
 public virtual void Start()
 {
     characterGrab        = GetComponentInChildren <CharacterGrab>();
     characterMelee       = GetComponentInChildren <CharacterMelee>();
     characterJump        = GetComponentInChildren <CharacterJump>();
     characterLadderClimb = GetComponentInChildren <CharacterLadderClimb>();
     characterLedgeGrab   = GetComponentInChildren <CharacterLedgeGrab>();
     characterMove        = GetComponentInChildren <CharacterMovement>();
     characterState       = GetComponent <CharacterState>();
 }
예제 #3
0
        void Start()
        {
            characterMove          = GetComponent <CharacterMovement>();
            characterState         = GetComponentInParent <CharacterState>();
            characterGroundedCheck = GetComponent <CharacterGroundedCheck>();
            characterLadderClimb   = GetComponent <CharacterLadderClimb>();
            wallDetectionCollider  = GetComponentInChildren <WallDetectionCollider>();
            rb2D = GetComponentInParent <Rigidbody2D>();
            InitializeDelegates();
            //		InvokeRepeating("PrintMessage", 1f , 1f);
//			ToolBox.instance.InvokeFunctionRepeating(() => print(Time.time), .1f, Time.time, 1f);
        }