public void GetComponentTest() { var gameObjectKun = new GameObjectKun(); var componentKun1 = gameObjectKun.AddComponent <CameraKun>(); var componentKun2 = gameObjectKun.GetComponentKun <CameraKun>(); UnityEngine.Assertions.Assert.AreEqual(componentKun1, componentKun2); }
public void AddComponentTest() { var gameObjectKun = new GameObjectKun(); var componentKun = gameObjectKun.AddComponent <CameraKun>(); }