using System; using System.Collections.Generic; using UnityEngine; namespace coa4u { /// /// Fades in the target. The tartet shaders should support transparency in order to use this action. /// class ActionFadeIn : ActionFadeTo { public ActionFadeIn(float tgtDuration) : base(1, tgtDuration) { } /// /// Returns a copy of the action. /// public override ActionInstant clone() { return new ActionFadeIn(duration); } /// /// Returns the reversed version of the action, if it is possible. /// public override ActionInstant reverse() { return new ActionFadeOut(duration); } } }