Exemple #1
0
        protected override StarMapProp CreateProp(
            GameObjectSet gos,
            StellarPropInfo oi,
            StarMapBase.SyncContext context)
        {
            StarMapProp starMapProp = new StarMapProp(gos.App, oi.AssetPath, oi.Transform.Position, oi.Transform.EulerAngles, 1f);

            gos.Add((IGameObject)starMapProp);
            return(starMapProp);
        }
Exemple #2
0
 protected virtual void UpdateProp(
     StarMapProp o,
     StellarPropInfo oi,
     StarMapBase.SyncContext context)
 {
 }