- Home /
Question by
Danielthedev · Apr 10, 2015 at 12:27 PM ·
asset storepublishingowner
Can I script examples from the Unity scripting api in my asset in the scenes of such use
Hi guys, I just create an asset I would like to sell it later, but I do not know if I can use in my example scene finished scripts from the scripting api unity.
In advance I say thank you
Comment
Answer by Digital-Phantom · Apr 10, 2015 at 01:04 PM
Its possible to use unity assets in your finished game/project so (and I'm only assuming here) that using the scripts comes under the same definition.
after all..
void OnTriggerEnter (Collider other)
{
if (other.tag == "Bullet")
{
Destroy(other.gameObject);
}
}
from the API, looks exactly the same as..
void OnTriggerEnter (Collider other)
{
if (other.tag == "Bullet")
{
Destroy(other.gameObject);
}
}
written by a unity user. My point being its simply a way of teaching people to code correctly.
;)