RemoteTech.NetworkRenderer.Detach C# (CSharp) 메소드

Detach() 공개 메소드

public Detach ( ) : void
리턴 void
        public void Detach()
        {
            for (int i = 0; i < mLines.Count; i++)
            {
                GameObject.DestroyImmediate(mLines[i]);
            }
            mLines.Clear();
            for (int i = 0; i < mCones.Count; i++)
            {
                GameObject.DestroyImmediate(mCones[i]);
            }
            mCones.Clear();
            DestroyImmediate(this);
        }