init() public method

public init ( Device &d3dDevice ) : void
d3dDevice Device
return void
        public void CreateAndAddMesh(string name)
        {
            GameObject gObj = new GameObject(name);

            gObj.init(ref m_device);
            m_GameObjectList.Add(gObj);
        }
 public void CreateAndAddMesh(string name)
 {
     GameObject gObj = new GameObject(name);
     gObj.init(ref m_device);
     m_GameObjectList.Add(gObj);
 }