namespace ET.Client { public static class MyUnitHelper { public static LSUnit GetMyUnitF(this Room scene) { PlayerComponent playerComponent = scene.GetParent().GetComponent(); long myId = playerComponent.MyId; return scene.LSWorld.Get(myId) as LSUnit; } } }