コード例 #1
0
ファイル: GameObjectTests.cs プロジェクト: jbruening/UnEngine
    void Awake()
    {
        _unGobj = new UnEngine.GameObject();

        var trans = _unGobj.transform;
        if (!trans)
        {
            throw new Exception("transform wasn't anything. Supposed to add one at creation");
        }
    }
コード例 #2
0
    void Awake()
    {
        _unGobj = new UnEngine.GameObject();

        var trans = _unGobj.transform;

        if (!trans)
        {
            throw new Exception("transform wasn't anything. Supposed to add one at creation");
        }
    }