unity call function from another script

C#
public otherScript other;

   void Update()
   {
     other.funtion();
   }
Source

Also in C#: