Tag Info

New answers tagged

0

Set the Person1 and Person2 SKPhysicsBody a little smaller than the SKSpriteNode. Then, add your Person1 and Person2 to update loop. You can do this by subclassing both SKSpriteNodes and then setting the name property to, for example, person. Implement a method in Person1 and Person2 that looks like this: //Objective C ...


0

https://msdn.microsoft.com/en-us/library/ff650316.aspx http://www.dotnetperls.com/singleton Hope these links help. Have you consulted the Unity website?



Top 50 recent answers are included