コード例 #1
0
    private void FixedUpdate()
    {
        if (Container == null)
        {
            return;
        }

        if (behaviour != null)
        {
            behaviour.Update();
            if (oldDir != behaviour.GetDirection())
            {
                oldDir = behaviour.GetDirection();
                Rotat(oldDir);
            }
        }
    }