Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     butterRigidbody = GetComponent <Rigidbody>();
     boxCollider     = GetComponent <BoxCollider>();
     cameraT         = Camera.main.transform;
     staminUp        = FindObjectOfType <StaminUp>();
     catMotion       = FindObjectOfType <CatMotion>();
 }
Exemplo n.º 2
0
    // Start is called before the first frame update

    private void Awake()
    {
        Instance = this;
    }