コード例 #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>();
 }
コード例 #2
0
    // Start is called before the first frame update

    private void Awake()
    {
        Instance = this;
    }