コード例 #1
0
    private void Start()
    {
        rigidBody       = this.GetComponent <Rigidbody>();
        moveableManager = this.GetComponent <MoveableManager>();

        onPlayerMove += InvokePosition;
    }
コード例 #2
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(this);
     }
 }