Exemple #1
0
    public void GetComponentTest()
    {
        var gameObjectKun = new GameObjectKun();
        var componentKun1 = gameObjectKun.AddComponent <CameraKun>();
        var componentKun2 = gameObjectKun.GetComponentKun <CameraKun>();

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