A related set of properties (height, colour, level) and methods (pick up item, jump, attack) that are used to describe an entity in the game.

learn more… | top users | synonyms

2
votes
1answer
151 views

Retrieve the original prefab from a game object

How would one proceed to retrieve the original prefab used for instantiating an object? In the editor these two functions work : Debug.Log(PrefabUtility.GetPrefabParent(gameObject)); ...
0
votes
1answer
52 views

Model Bookkeeping between Entities and Environment

I am having a 2D chunked, tiled map where entities can move around - the Game having a World, having a storage structure for chunks with chunks having an array of tiles. The World also has a storage ...
0
votes
1answer
91 views

How do I connect my objects to my meshes?

I am creating a simple 3D engine and I've run into a problem. I have an array of objects [Camera, Player, Player, MonsterA, MonsterB, MonsterA] and a number of mesh files that I need to associate ...