Here are the examples of the csharp api System.Collections.Generic.List.Add(gravityMover) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
View Source File : Chapter5Fig1.cs
License : GNU General Public License v3.0
Project Creator : jadlerfisher
License : GNU General Public License v3.0
Project Creator : jadlerfisher
void Start()
{
//Begin by setting the world gravity to 0
Physics.gravity = new Vector2(0, -1f);
//Instantiate a number of gravityMovers
for (int i = 0; i < moverCount; i++)
{
m = new gravityMover();
gravityMovers.Add(m);
}
}