c# - Instantiate not placing clones at desired place -


i´m trying instantiate clone of prefab. pass parameter prefab clone, position put , rotation. problem unity don't put clone desired position. ideas?

using unityengine; using system.collections;  public class enemygenerator : monobehaviour {     public gameobject enemy;      void start()     {        instantiate(enemy, new vector3(30, 30, 30), quaternion.identity);     } } 

instantiated prefab


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -