コード例 #1
0
ファイル: PhysicsSphere.cs プロジェクト: FGEbba/PhysicsTest
    private void UpdateOnBouncyBoxWhenExit(Collider other)
    {
        PhysicsBouncyBox box = other.GetComponent <PhysicsBouncyBox>();

        if (box != null)
        {
            onBouncyBox = null;
        }
    }
コード例 #2
0
ファイル: PhysicsSphere.cs プロジェクト: FGEbba/PhysicsTest
 private void UpdateOnBouncyBoxStay(Collider other)
 {
     onBouncyBox = other.GetComponent <PhysicsBouncyBox>();;
 }