예제 #1
0
                public void DestroyMountPoint()
                {
                    if (isDriver)
                    {
                        return;
                    }

                    if (entity.IsMounted())
                    {
                        DismountPlayer();
                    }

                    if (entity != null && !entity.IsDestroyed)
                    {
                        Destroy(entity.GetComponent <InvisibleMount>());
                        entity.Kill(BaseNetworkable.DestroyMode.None);
                    }
                }