How to paint with prefab

Hi guys,

I need to be able to pain with my prefab via touch input.

My Prefab is just sprite with colour.


Unity Answers addresses a single specific technical issue to help you write your own code. Research the following entries in the reference:

  • Touch
  • Touch.phase
  • Touch.position
  • Instantiate()
  • Camera.WorldToScreenPoint()
  • Lerp()
  • Vector3.Distance()